<template>
    <el-color-picker v-model="color"  @change="颜色变化"   :predefine='颜色组'  />
  </template>
  
  <script  setup>
  import { ref } from 'vue'
  
  const 颜色组=ref(['rgba(19, 206, 102, 0.8)','#409EFF'])
  const color = ref('rgba(19, 206, 102, 0.8)')
  const 颜色变化=()=>{
    console.log(color.value)
  }
  </script>
<style lang='scss'  scoped></style>
	